<%@ page pageEncoding="UTF-8"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<jsp:include page="../common/top.jsp"></jsp:include>
<jsp:include page="../common/leftmenu.jsp"></jsp:include>


<div class="fr" style="width: 780px">
	<div class="box_title">
		<i class="fa fa-table"></i>我提交的请求
	</div>
	<div class="box-content nopadding">
		<table class="table table-hover table-nomargin">
			<thead>
				<tr>

					<th style="width:50px">编号</th> 
					<th style="width:250px">标题</th>
					<th style="width:140px">申报时间</th>
					<th style="width:60px">状态</th>
					<th style="width:90px">操作</th>
				</tr>
			</thead>
			<c:forEach var="item" items="${requests }">
				<tr>

					<td>${item.code }</td>

					<td><c:if test="${item.type eq 'incidentProcess' }">
							<a class="ui-link-inherit" target="_blank"
								href="customer/help/incident/incidentInfo?id=${item.id }">${item.title}</a>
						</c:if> <c:if test="${item.type eq 'changeProcess' }">
							<a class="ui-link-inherit" href="customer/help/change/changeInfo?id=${item.id }">${item.title}</a>
						</c:if>
					</td>
					<td><fmt:formatDate value="${item.create_date }"
							pattern="yyyy-MM-dd HH:mm" /></td>
					<td>${item.STATUS }</td>
					<td><c:if test="${item.type eq 'incidentProcess' }">
							<a class="ui-link-inherit"
								href="customer/help/incident/incidentInfo?id=${item.id }" target="_blank">查看</a>
						</c:if> <c:if test="${item.type eq 'changeProcess' }">
							<a class="ui-link-inherit" href="customer/help/change/changeInfo?id=${item.id }"  target="_blank">查看</a>
						</c:if>&nbsp;&nbsp; <a class="ui-link-inherit" target="_blank"
							href="workflow/processRun/traceView?processId=${item.process_id }&from=customer">流程跟踪</a>
					</td>
				</tr>

			</c:forEach>
		</table>
		<br> ${pager }
	</div>
</div>



<jsp:include page="../common/bottom.jsp"></jsp:include>